﻿using STT.Layer.Connection;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace STT.Profile.UserControlsGV
{
    public partial class UcChiTietThongBaoGV : System.Web.UI.UserControl
    {
        ToolBox tb = new ToolBox();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                LoadTb();
        }
        private void LoadTb()
        {
            DataTable dt = tb.GetDataTableById("[Get_TinTuc_ById]", Request.QueryString.Get("key"));
            dtlchitiett.DataSource = dt;
            dtlchitiett.DataBind();
        }
    }
}